#
# Be sure to run `pod lib lint LBCoreKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'LBCoreKit'
  s.version          = '0.1.6'
  s.summary          = '建设联结iOS客户端核心组件库'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/LewisYang/CoreKit'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '李柰财' => 'lnc@lianj.com' }
  s.source           = { :git => 'https://gitee.com/LewisYang/CoreKit.git', :tag => s.version.to_s,:submodules => true }

  s.ios.deployment_target = '8.0'
  s.source_files = 'LBCoreKit/LBCoreKit.h'
  s.public_header_files = 'LBCoreKit/LBCoreKit.h'
  
    s.subspec 'LBUtils' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBUtils/*.h'
    ss.source_files = 'LBCoreKit/LBUtils/*'
    ss.frameworks = 'Foundation'
    ss.dependency 'LBCoreKit/LBPrefix'
    end

    s.subspec 'LBPrefix' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBPrefix/*.h'
    ss.source_files = 'LBCoreKit/LBPrefix/*'
    ss.frameworks = 'Foundation'
    end

    s.subspec 'LBDataCache' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBDataCache/*.h'
    ss.source_files = 'LBCoreKit/LBDataCache/*'
    ss.frameworks = 'Foundation'
    ss.dependency 'MJExtension'
    end

    s.subspec 'LBService' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBService/Classes/*.h'
    ss.source_files = 'LBCoreKit/LBService/Classes/*'
    ss.dependency 'AFNetworking'
    ss.dependency 'LBCoreKit/LBNetWorkListen'
    ss.dependency 'LBCoreKit/LBTokenStore'
    ss.resource = 'LBCoreKit/LBService/Assets/LBService.bundle'
    end

    s.subspec 'LBNetWorkListen' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBNetWorkListen/*.h'
    ss.source_files = 'LBCoreKit/LBNetWorkListen/*'
    ss.dependency 'AFNetworking'
    ss.frameworks = 'Foundation'
    end

    s.subspec 'LBTokenStore' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBTokenStore/*.h'
    ss.source_files = 'LBCoreKit/LBTokenStore/*'
    ss.dependency 'AFNetworking'
    ss.dependency 'LBCoreKit/LBStore'
    ss.frameworks = 'Foundation'
    end

    s.subspec 'LBStore' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBStore/*.h'
    ss.source_files = 'LBCoreKit/LBStore/*'
    ss.frameworks = 'Foundation'
    ss.libraries = 'objc'
    end

    s.subspec 'LBCategory' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.dependency 'LBCategory'
    end

    s.subspec 'LBOSS' do |ss|
    ss.ios.deployment_target = '8.0'
    ss.public_header_files = 'LBCoreKit/LBOSS/*.h'
    ss.source_files = 'LBCoreKit/LBOSS/*'
    ss.frameworks = 'Foundation'
    ss.dependency 'LBCoreKit/LBService'
    ss.dependency 'MJExtension'
    ss.dependency 'AliyunOSSiOS','~> 2.4.1'
    ss.dependency 'OpenUDID','~> 1.0.0'
    ss.dependency 'LBCoreKit/LBCategory'
    end


end
